package com.ftg.learn.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author wangty
 * @date 2022/10/18
 */
@Data
@ApiModel("商品表实例")
public class SaleEntity {
    @ApiModelProperty(value = "主键",example = "123")
    Integer id;
    @ApiModelProperty(value = "商品名称",example = "康师傅矿泉水")
    String name;
    @ApiModelProperty(value = "地址",example = "哈北")
    String address;
    @ApiModelProperty(value = "农场主键",example = "2")
    Integer fid;
    @ApiModelProperty(value = "单位",example = "箱")
    String unit;
    @ApiModelProperty(value = "价格",example = "23.4")
    Double price;
    @ApiModelProperty(value = "类型",example = "食品")
    String type;
    @ApiModelProperty(value = "创建日期",example = "2009-09-09 12：23：23")
    String scdate;
    @ApiModelProperty(value = "售卖日期",example = "2009-09-09 12：23：23")
    String ccdate;
    @ApiModelProperty(value = "类型",example = "0")
    byte flag;
}
